package com.yidu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import com.yidu.dao.SuWhDetailMapper;
import com.yidu.model.SuWhDetail;
import com.yidu.service.SuWhDetailService;

/**
 * 批发订单详情实现类
 * @Type SuWhDetailServiceImpl
 * @author ZhuYiFan
 * @Date 2018年12月6日
 * @Time 上午9:08:17
 */
@Service
public class SuWhDetailServiceImpl implements SuWhDetailService{
	
	/**
	 * 批发明细Mapper注入
	 */
	@Resource
	private SuWhDetailMapper suWhDetailMapper;

	@Override
	public List<SuWhDetail> findAll(Map<String, Object> maps) {
		return suWhDetailMapper.findAll(maps);
	}

	@Override
	public int findCount(Map<String, Object> maps) {
		return suWhDetailMapper.findCount(maps);
	}

	@Override
	public int queryNumber(String wdId) {
		return suWhDetailMapper.queryNumber(wdId);
	}
	
	
}
